package com.ruoyi.common.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Configuration
@ConfigurationProperties(prefix = "oss")
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class OssConfig {
    private String endpoint;
    private String bucketName;
    private String urlPrefix;
    private String accessKeyId;
    private String accessKeySecret;
}
